NevronOpenVision
Nevron.Nov.UI Namespace / NMenuSplitButton Class / FillFromEnum Method / FillFromEnum<TEnum,THeader>(THeader[],Boolean) Method
Determines whether to localize enum values.
In This Topic
    FillFromEnum<TEnum,THeader>(THeader[],Boolean) Method
    In This Topic
    Fills the menu split button from enum. Assigns the corresponding enum value to the Tag property of each menu item.
    Syntax
    public void FillFromEnum<TEnum,THeader>( 
       THeader[] headers,
       System.bool localizeEnumValues
    )
    where TEnum: new(), struct

    Parameters

    headers
    localizeEnumValues
    Determines whether to localize enum values.

    Type Parameters

    TEnum
    THeader
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also